<template>
  <div class="notfound">
    <van-empty image="error" description="404 Not Found" />
    <div @click="GoHome()">点击返回首页</div>
  </div>
</template>

<script>
export default {
    methods:{
        GoHome(){
            this.$router.push('/home')
        }
    }
}
</script>

<style lang="scss" scoped>
.notfound{
    div{
        text-align: center;
        color: red;
        
    }
}

</style>